package com.kgc.scd.service;

import org.springframework.cloud.netflix.feign.FeignClient;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestParam;

import java.util.Map;

/**
 * Created On : 2022/11/21.
 * <p>
 * Author : Administrator
 * <p>
 * Description: CouponService
 */
@FeignClient("wyyxmall-yt-server")
public interface CouponService {


    @GetMapping("/ytserver/judgeCoupons")
    Map<String, Object> wouldUseCoupons(@RequestParam("userCouponId") String userCouponId,
                                        @RequestParam("categoryId") String categoryId,
                                        @RequestParam("money") Double money,
                                        @RequestParam("userId") String userId);

}
